using System;
using Castle.MonoRail.Framework;
using WineCellar.Filters;

namespace WineCellar.Common.Controllers
{
    [ControllerDetails("Test")]
    [Layout("index")]
    [AuthenticationFilter(new string[] { "User" })]
    public class TestController : Controller
    {
        public void Index()
        {
            
        }
        public void CallSelect()
        {

        }
        
        public void CallInvoke()
        {
            this.Flash["message2"] = string.Format("Message 2 {0}", DateTime.Now.ToString()) ;
            RedirectToAction("Index");

        }
    }
    
}
